﻿using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;

namespace Thaire.Investment.Repository.Mapping
{
    class PartiesMap : ClassMap<Parties>
    {
        public PartiesMap()
        {
            Table("PARTIES");
            Id(x => x.PartiesId, "PARTIES_ID").GeneratedBy.Identity();
            Map(x => x.PartiesRefCode, "PARTIES_REF_CODE");
            Map(x => x.PartiesLifeType, "PARTIES_LIFE_TYPE");

        }
    }
}
